package com.rppowell.pixie.models;

import java.util.ArrayList;

public class MapSet extends ArrayList<Map> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
        private SpriteSet spriteSet;

    MapSet(SpriteSet spriteSet) {
        this.spriteSet = spriteSet;
    }

    Map newMap(int w, int h, String name) {
        Map m = new Map(spriteSet, w, h, name);
        add(m);
        return m;
    }
}
